Previous Book Contents Book Index Next

Inside Macintosh: Sound /
Chapter 2 - Sound Manager / Sound Manager Reference
Data Structures


State Blocks

The stateVars field of a compressed sound header contains a pointer to a state block, defined by the StateBlock data type.

TYPE StateBlock = 
RECORD
   stateVar:         ARRAY[0..stateBlockSize - 1] OF Integer;
END;
Field Description
stateVar
An array of integers. This field contains state variables that need to be preserved across invocations of the compression algorithm. The size of this field is defined by a constant.
               CONST
                  stateBlockSize          = 64;

Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996